<template>
  <div>
    <form-part></form-part>
  </div>
</template>
<script>
import axios from 'axios'
import formPart from './components/form'
export default {
   components: {
       formPart
   },
   methods: {
       // 获取信息
        getInfo () {
            let groupId=''
            axios.get(`/goodsGroup?jsonStr=${groupId}`)
                .then(this.setPage)
        },
        // 初始化页面
        setPage (res) {
            console.log(res)
        }
   },
   mounted () {
       this.getInfo()
   }
}
</script>
<style lang='stylus' scoped></style>